import numpy as np
import torch
import random
import math
import torch.nn.functional as F
import matplotlib.pyplot as plt
import re
import torch.nn as nn
import copy
import warnings
import copy

a = [[], [], [], []]


def test_array(arg):
    for i in arg:
        i.append(1)


test_array(a)
print(a)  # 从输出结果来看确实是传递的为地址
